package com.qianji.petmall.authserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.stereotype.Component;

@SpringBootApplication
@EnableDiscoveryClient
//开启远程调用注解
@EnableFeignClients
@Component
//整合redis储存session服务
@EnableRedisHttpSession
public class PetmallAuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(PetmallAuthServerApplication.class, args);
    }

}
